local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1
L0_1 = {}
L0_1.group_id = 133003599
L1_1 = {}
L2_1 = {}
L2_1.config_id = 599001
L2_1.monster_id = 21010601
L3_1 = {}
L3_1.x = 2185.775
L3_1.y = 254.766
L3_1.z = -1687.477
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 275.236
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 15
L2_1.drop_id = 1000100
L2_1.disableWander = true
L2_1.pose_id = 9011
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 599002
L3_1.monster_id = 21010601
L4_1 = {}
L4_1.x = 2197.102
L4_1.y = 254.199
L4_1.z = -1683.925
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 15
L3_1.drop_id = 1000100
L3_1.disableWander = true
L3_1.pose_id = 9011
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 599003
L4_1.monster_id = 21010201
L5_1 = {}
L5_1.x = 2193.114
L5_1.y = 255.39
L5_1.z = -1689.91
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 352.699
L5_1.y = 251.149
L5_1.z = 356.278
L4_1.rot = L5_1
L4_1.level = 15
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.pose_id = 9012
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 599012
L5_1.monster_id = 21030301
L6_1 = {}
L6_1.x = 2190.304
L6_1.y = 255.667
L6_1.z = -1692.986
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 15
L5_1.drop_id = 1000100
L5_1.pose_id = 9012
L5_1.area_id = 1
L6_1 = {}
L6_1.config_id = 599013
L6_1.monster_id = 21010201
L7_1 = {}
L7_1.x = 2190.809
L7_1.y = 255.071
L7_1.z = -1688.165
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 352.699
L7_1.y = 182.107
L7_1.z = 356.278
L6_1.rot = L7_1
L6_1.level = 15
L6_1.drop_id = 1000100
L6_1.disableWander = true
L6_1.pose_id = 9012
L6_1.area_id = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 599004
L2_1.gadget_id = 70300083
L3_1 = {}
L3_1.x = 2193.864
L3_1.y = 253.797
L3_1.z = -1680.984
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 339.465
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 15
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 599005
L3_1.gadget_id = 70300083
L4_1 = {}
L4_1.x = 2186.999
L4_1.y = 254.102
L4_1.z = -1683.285
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 339.465
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 15
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 599006
L4_1.gadget_id = 70300100
L5_1 = {}
L5_1.x = 2184.363
L5_1.y = 254.653
L5_1.z = -1687.281
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 15
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 599007
L5_1.gadget_id = 70300100
L6_1 = {}
L6_1.x = 2196.969
L6_1.y = 253.964
L6_1.z = -1682.166
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 15
L5_1.area_id = 1
L6_1 = {}
L6_1.config_id = 599010
L6_1.gadget_id = 70210102
L7_1 = {}
L7_1.x = 2190.827
L7_1.y = 255.327
L7_1.z = -1689.983
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 11
L6_1.chest_drop_id = 1000100
L6_1.drop_count = 1
L6_1.area_id = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1599009
L2_1.name = "GADGET_STATE_CHANGE_599009"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_599009"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_599009"
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 599001
L6_1 = 599002
L7_1 = 599003
L8_1 = 599012
L9_1 = 599013
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 599004
L6_1 = 599005
L7_1 = 599006
L8_1 = 599007
L9_1 = 599010
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_STATE_CHANGE_599009"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 599010 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.ChestOpened
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_599009 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddQuestProgress
  L3_2 = A0_2
  L4_2 = "1330035991"
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : add_quest_progress"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_599009 = L1_1
